package com.uls.czj.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.uls.common.annotation.Excel;
import com.uls.common.core.domain.BaseEntity;

/**
 * 公房管理对象 czj_publichousing
 * 
 * @author czj
 * @date 2024-11-10
 */
public class CzjPublichousing extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 房间id */
    private Long roomid;

    /** 楼宇id */
    @Excel(name = "楼宇id")
    private Long buildingid;

    /** 房间用途，值: 办公室, 实验室, 会议室, 其他 */
    @Excel(name = "房间用途，值: 办公室, 实验室, 会议室, 其他")
    private String roomusage;

    /** 面积（平方米） */
    @Excel(name = "面积", readConverterExp = "平=方米")
    private BigDecimal area;

    /** 状态，值: 空闲, 使用中 */
    @Excel(name = "状态，值: 空闲, 使用中")
    private String status;

    /** 使用部门 */
    @Excel(name = "使用部门")
    private String department;

    /** 配套设施 */
    @Excel(name = "配套设施")
    private String facilities;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createdby;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdtime;

    /** 修改人 */
    @Excel(name = "修改人")
    private String updatedby;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedtime;

    /** 删除人 */
    @Excel(name = "删除人")
    private String deletedby;

    /** 删除时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "删除时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date deletedtime;

    @Excel(name = "楼宇名称")
    private String building;

    public String getBuilding() {
        return building;
    }

    public void setBuilding(String building) {
        this.building = building;
    }

    public void setRoomid(Long roomid)
    {
        this.roomid = roomid;
    }

    public Long getRoomid() 
    {
        return roomid;
    }
    public void setBuildingid(Long buildingid) 
    {
        this.buildingid = buildingid;
    }

    public Long getBuildingid() 
    {
        return buildingid;
    }
    public void setRoomusage(String roomusage) 
    {
        this.roomusage = roomusage;
    }

    public String getRoomusage() 
    {
        return roomusage;
    }
    public void setArea(BigDecimal area) 
    {
        this.area = area;
    }

    public BigDecimal getArea() 
    {
        return area;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDepartment(String department) 
    {
        this.department = department;
    }

    public String getDepartment() 
    {
        return department;
    }
    public void setFacilities(String facilities) 
    {
        this.facilities = facilities;
    }

    public String getFacilities() 
    {
        return facilities;
    }
    public void setCreatedby(String createdby) 
    {
        this.createdby = createdby;
    }

    public String getCreatedby() 
    {
        return createdby;
    }
    public void setCreatedtime(Date createdtime) 
    {
        this.createdtime = createdtime;
    }

    public Date getCreatedtime() 
    {
        return createdtime;
    }
    public void setUpdatedby(String updatedby) 
    {
        this.updatedby = updatedby;
    }

    public String getUpdatedby() 
    {
        return updatedby;
    }
    public void setUpdatedtime(Date updatedtime) 
    {
        this.updatedtime = updatedtime;
    }

    public Date getUpdatedtime() 
    {
        return updatedtime;
    }
    public void setDeletedby(String deletedby) 
    {
        this.deletedby = deletedby;
    }

    public String getDeletedby() 
    {
        return deletedby;
    }
    public void setDeletedtime(Date deletedtime) 
    {
        this.deletedtime = deletedtime;
    }

    public Date getDeletedtime() 
    {
        return deletedtime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("roomid", getRoomid())
            .append("buildingid", getBuildingid())
            .append("roomusage", getRoomusage())
            .append("area", getArea())
            .append("status", getStatus())
            .append("department", getDepartment())
            .append("facilities", getFacilities())
            .append("createdby", getCreatedby())
            .append("createdtime", getCreatedtime())
            .append("updatedby", getUpdatedby())
            .append("updatedtime", getUpdatedtime())
            .append("deletedby", getDeletedby())
            .append("deletedtime", getDeletedtime())
            .toString();
    }
}
